#include "Blocks/MagmaBlock.h"

namespace PocketSurvival
{
    MagmaBlock::MagmaBlock() : FluidBlock(4) {}

	bool MagmaBlock::isFaceTransparent(int32_t face, int32_t value)
	{
		if (GetIsTop(Terrain::ExtractData(value)))
		{
			return face != 5;
		}
		return false;
	}

    int32_t MagmaBlock::getIndex()
    {
        return Index();
    }

    const std::string &MagmaBlock::getBlockName()
    {
        static std::string blockName = "MagmaBlock";
        return blockName;
    }

} // namespace PocketSurvival

